import IScript from "../IScript";
import { move } from "../../msg/msg"
export  class S2C_SyncPosition implements IScript {

    private static  _instance = new S2C_SyncPosition()
    public static get instance(){
        return S2C_SyncPosition._instance;
    }
    private constructor(){}

    excute(obj: any) {
        this.handle(obj as typeof move.C2S_SyncPosition)
    }

    handle(msg: typeof move.C2S_SyncPosition) {
        console.log("消息处理器处理消息：",msg);
        
    }
}

export default S2C_SyncPosition.instance